package domain;

public class Car {
    private int id;
    private String userid;
    private String goodspic;
    private String goodsprice;
    private int num;


    public Car(int id, String userid, String goodspic, String goodsprice, int num) {
        this.id = id;
        this.userid = userid;
        this.goodspic = goodspic;
        this.goodsprice = goodsprice;
        this.num = num;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getUserid() {
        return userid;
    }

    public void setUserid(String userid) {
        this.userid = userid;
    }

    public String getGoodspic() {
        return goodspic;
    }

    public void setGoodspic(String goodspic) {
        this.goodspic = goodspic;
    }

    public String getGoodsprice() {
        return goodsprice;
    }

    public void setGoodsprice(String goodsprice) {
        this.goodsprice = goodsprice;
    }

    public int getNum() {
        return num;
    }

    public void setNum(int num) {
        this.num = num;
    }
}
